cd C:\Program Files\VideoLAN\VLC2
vlc2 "udp://@localhost:1234" :sout=#transcode{vcodec=FLV1,vb=1800,scale=1}:std{access=file,dst="C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\webfarm\videos\%date:~10,4%%date:~4,2%%date:~7,2%%TIME:~0,2%%TIME:~3,2%%.flv"}